<?php

namespace App\System\Base\Model;

use Illuminate\Database\Eloquent\SoftDeletes;


class BaseRegion extends BaseModel
{
    //使用软删除
    use SoftDeletes;
    //指定表名
    protected $table = 'base_region';
    //隐藏字段，指定的字段不会返回
    protected $hidden = ['deleted_at'];
    //不会被更新到数据表中的字段
    protected $guarded = [];
    /**
     * 需要被转换成日期的属性。
     *
     * @var array
     */
    protected $dates = ['deleted_at'];
}
